        <!DOCTYPE html>
        <html>
        <head>
                <meta charset="utf-8">
        <title>Ring class / ring_demo.dart Library / Dart Documentation</title>
        <link rel="stylesheet" type="text/css"
            href="../styles.css">
        <link href="//fonts.googleapis.com/css?family=Open+Sans:400,600,700,800" rel="stylesheet" type="text/css">
        <link rel="shortcut icon" href="../favicon.ico">
        
        </head>
        <body data-library="ring_demo.dart" data-type="Ring">
        <div class="page">
        <div class="header">
          <a href="../index.html"><div class="logo"></div></a>
          <a href="../index.html">Dart Documentation</a>
         &rsaquo; <a href="../ring_demo.dart.html">ring_demo.dart</a> &rsaquo; <a href="../ring_demo.dart/Ring.html">Ring</a>        <div id="search-box">
          <input type="search" name="q" id="q" autocomplete="off"
              class="search-input" placeholder="Search API">
        </div>
        
      </div>
      <div class="drop-down" id="drop-down"></div>
      
        <div class="nav">
        
<h2><div class="icon-library"></div><a href="../metadata.html">metadata</a></h2><h2><div class="icon-library"></div><a href="../ring_demo.dart.html">ring_demo.dart</a></h2><ul class="icon">
<li><div class="icon-class"></div><strong>Ring</strong></li>
<li><a href="../ring_demo.dart/RingDemo.html"><div class="icon-class"></div>RingDemo</a></li>
</ul>
</div>
<div class="content">
        <h2><strong>Ring</strong>
          class
        </h2>
        
<button id="show-inherited" class="show-inherited">Hide inherited</button>
<div class="doc">
<p>A basic <a class="crossref" href="../ring_demo.dart/Ring.html#Ring">Ring</a> object.</p>
<p>Specifies location and size to draw the Ring, and the amount by 
which to resize it.</p>
<pre class="source">
class Ring {
 int x, y, red, green, blue;
 double radius, maxRadius, multiplier, alpha;
 
 Ring(this.x, this.y, this.radius, this.maxRadius, 
     [this.red = 255, this.green = 255, this.blue = 255, this.alpha = 1.0, 
     this.multiplier = 1.0]);  
}
</pre>
</div>
<div>
<h3>Constructors</h3>
<div class="method"><h4 id="Ring">
<button class="show-code">Code</button>
new <strong>Ring</strong>(<a href="http://api.dartlang.org/dart_core/int.html">int</a> x, <a href="http://api.dartlang.org/dart_core/int.html">int</a> y, <a href="http://api.dartlang.org/dart_core/double.html">double</a> radius, <a href="http://api.dartlang.org/dart_core/double.html">double</a> maxRadius, [<a href="http://api.dartlang.org/dart_core/int.html">int</a> red = 255, <a href="http://api.dartlang.org/dart_core/int.html">int</a> green = 255, <a href="http://api.dartlang.org/dart_core/int.html">int</a> blue = 255, <a href="http://api.dartlang.org/dart_core/double.html">double</a> alpha = 1.0, <a href="http://api.dartlang.org/dart_core/double.html">double</a> multiplier = 1.0]) <a class="anchor-link" href="#Ring"
              title="Permalink to Ring.Ring">#</a></h4>
<div class="doc">
<pre class="source">
Ring(this.x, this.y, this.radius, this.maxRadius, 
   [this.red = 255, this.green = 255, this.blue = 255, this.alpha = 1.0, 
   this.multiplier = 1.0]);
</pre>
</div>
</div>
</div>
<div>
<h3>Properties</h3>
<div class="field"><h4 id="alpha">
<button class="show-code">Code</button>
<a href="http://api.dartlang.org/dart_core/double.html">double</a>         <strong>alpha</strong> <a class="anchor-link"
            href="#alpha"
            title="Permalink to Ring.alpha">#</a>
        </h4>
        <div class="doc">
<pre class="source">
double radius, maxRadius, multiplier, alpha
</pre>
</div>
</div>
<div class="field"><h4 id="blue">
<button class="show-code">Code</button>
<a href="http://api.dartlang.org/dart_core/int.html">int</a>         <strong>blue</strong> <a class="anchor-link"
            href="#blue"
            title="Permalink to Ring.blue">#</a>
        </h4>
        <div class="doc">
<pre class="source">
int x, y, red, green, blue
</pre>
</div>
</div>
<div class="field"><h4 id="green">
<button class="show-code">Code</button>
<a href="http://api.dartlang.org/dart_core/int.html">int</a>         <strong>green</strong> <a class="anchor-link"
            href="#green"
            title="Permalink to Ring.green">#</a>
        </h4>
        <div class="doc">
<pre class="source">
int x, y, red, green
</pre>
</div>
</div>
<div class="field"><h4 id="maxRadius">
<button class="show-code">Code</button>
<a href="http://api.dartlang.org/dart_core/double.html">double</a>         <strong>maxRadius</strong> <a class="anchor-link"
            href="#maxRadius"
            title="Permalink to Ring.maxRadius">#</a>
        </h4>
        <div class="doc">
<pre class="source">
double radius, maxRadius
</pre>
</div>
</div>
<div class="field"><h4 id="multiplier">
<button class="show-code">Code</button>
<a href="http://api.dartlang.org/dart_core/double.html">double</a>         <strong>multiplier</strong> <a class="anchor-link"
            href="#multiplier"
            title="Permalink to Ring.multiplier">#</a>
        </h4>
        <div class="doc">
<pre class="source">
double radius, maxRadius, multiplier
</pre>
</div>
</div>
<div class="field"><h4 id="radius">
<button class="show-code">Code</button>
<a href="http://api.dartlang.org/dart_core/double.html">double</a>         <strong>radius</strong> <a class="anchor-link"
            href="#radius"
            title="Permalink to Ring.radius">#</a>
        </h4>
        <div class="doc">
<pre class="source">
double radius
</pre>
</div>
</div>
<div class="field"><h4 id="red">
<button class="show-code">Code</button>
<a href="http://api.dartlang.org/dart_core/int.html">int</a>         <strong>red</strong> <a class="anchor-link"
            href="#red"
            title="Permalink to Ring.red">#</a>
        </h4>
        <div class="doc">
<pre class="source">
int x, y, red
</pre>
</div>
</div>
<div class="field"><h4 id="x">
<button class="show-code">Code</button>
<a href="http://api.dartlang.org/dart_core/int.html">int</a>         <strong>x</strong> <a class="anchor-link"
            href="#x"
            title="Permalink to Ring.x">#</a>
        </h4>
        <div class="doc">
<pre class="source">
int x
</pre>
</div>
</div>
<div class="field"><h4 id="y">
<button class="show-code">Code</button>
<a href="http://api.dartlang.org/dart_core/int.html">int</a>         <strong>y</strong> <a class="anchor-link"
            href="#y"
            title="Permalink to Ring.y">#</a>
        </h4>
        <div class="doc">
<pre class="source">
int x, y
</pre>
</div>
</div>
</div>
        </div>
        <div class="clear"></div>
        </div>
        <div class="footer">
          <div>This page was generated at 2013-05-16 22:23:54.538</div>
        </div>
        <script async src="../client-static.js"></script>
        </body></html>
        
